package com.example.compreshensiveshop.po;

import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


@Data
public class UserPO implements Serializable {
    private Long id;

    private String name;

    private String password;

    private String phone;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp registerTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp lastLoginTime;

    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}